:host {
    ::ng-deep {
        .card-nopd {
            .ant-card-head {
                margin-bottom: 0;
            }

            .ant-card-body {
                padding: 0;
            }
        }
        
        .role-item {
            .role-mgnt-tools {
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.3s;

                i {
                    color: #bfbfbf;
                    transition: color 0.3s;

                    &:hover {
                        color: #1890ff;
                    }
                }
            }

            &.ant-menu-item-selected {
                .role-mgnt-tools {
                    opacity: 1;
                    visibility: visible;
                }
            }
        }

        .tabset {
            .ant-tabs-nav-container {
                line-height: 58px;
            }

            .ant-tabs-nav-scroll {
                padding: 0 32px;
            }

            .ant-tabs-tab {
                padding: 0 16px;
            }

            .ant-tabs-tabpane {
                padding: 0 20px;
            }
        }

        .tree-menu-name {
            display: inline-block;
            vertical-align: middle;
            line-height: 24px;
            padding: 0 6px;
            border-radius: 2px;
            transition: background-color 0.3s;

            &:hover {
                background-color: #e6f7ff;
            }

            i {
                margin-right: 6px;
            }
        }
    }
}